<template>
  <suspense>
    <template #default>
      <RouterView />
    </template>
    <template #fallback>
      <div v-loading="true"></div>
    </template>
  </suspense>
</template>

<script setup lang="ts">
import { onMounted } from "vue";
import { handleError } from "vue-demi";
import { store } from '/@ts/store';
onMounted(() => {
  //模拟动态加载路由
});
</script>

<style>
html {
  --color-primary: "#C48";
}
/* .el-menu-item.is-active {
  color: #fff;
  background-color: var(--color-primary) !important;
} */


</style>
